<HTML>
<HEAD>
<meta charset="UTF-8">
<title>CharactersFavoriteViewModel.removeFavoriteCharacter - features/characters_favorites</title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">features/characters_favorites</a>&nbsp;/&nbsp;<a href="../index.html">com.vmadalin.dynamicfeatures.charactersfavorites.ui.favorite</a>&nbsp;/&nbsp;<a href="index.html">CharactersFavoriteViewModel</a>&nbsp;/&nbsp;<a href="./remove-favorite-character.html">removeFavoriteCharacter</a><br/>
<br/>
<h1>removeFavoriteCharacter</h1>
<a name="com.vmadalin.dynamicfeatures.charactersfavorites.ui.favorite.CharactersFavoriteViewModel$removeFavoriteCharacter(com.vmadalin.core.database.characterfavorite.CharacterFavorite)"></a>
<code><span class="keyword">fun </span><span class="identifier">removeFavoriteCharacter</span><span class="symbol">(</span><span class="identifier" id="com.vmadalin.dynamicfeatures.charactersfavorites.ui.favorite.CharactersFavoriteViewModel$removeFavoriteCharacter(com.vmadalin.core.database.characterfavorite.CharacterFavorite)/character">character</span><span class="symbol">:</span>&nbsp;<span class="identifier">CharacterFavorite</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
<p>Remove the selected favorite character from database in case if exist.</p>
<h3>Parameters</h3>
<p><a name="character"></a>
<code>character</code> - Favorite character.</p>
</BODY>
</HTML>
